package com.csxy.lxl.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.lxl.entity.EduCourse;
import com.csxy.lxl.entity.vo.*;

import java.util.List;
import java.util.Map;

public interface EduCourseService extends IService<EduCourse> {


    String addCourseInfo(CourseInfoForm courseInfoForm);

    CourseInfoForm getCourseInfo(String courseId);

    void updateCourseInfo(CourseInfoForm courseInfoForm);

    boolean removeCourse(String id);

    void pageQuery(Page<EduCourse> pageParm, CourseQuery courseQuery);

    CoursePublishVo getPublishCourseInfo(String id);

    CourseWebVo getBaseCourseInfo(String courseId);

    List<EduCourse> selectHotCourse();

    Map<String, Object> getCourseFrontInfo(Page<EduCourse> pageCourse, CourseFrontVo courseFrontVo);
}
